package com.qf.feigndemo.feignclient;

import com.qf.common.vo.ResultVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("service-redis")
public interface RedisFeignClient {

    @PostMapping("/vote")
    public ResultVo vote(@RequestParam("phone") String phone,@RequestParam("name") String name);

}
